package com.taixu.apiorder.mapper;

import com.taixu.apiorder.domain.ApiOrder;
import com.taixu.apiorder.domain.bo.ApiOrderBo;
import com.taixu.apiorder.domain.vo.ApiOrderVo;
import com.taixu.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单Mapper接口
 *
 * @author ximu
 * @date 2023-12-14
 */
public interface ApiOrderMapper extends BaseMapperPlus<ApiOrderMapper, ApiOrder, ApiOrderVo> {


    /**
     * 通过订单号查询订单
     */
    ApiOrderVo queryByOrder(String orderNo);

    /**
     * 倒序查询订单列表
     */
    List<ApiOrderVo> queryListByEesc(@Param("page") int page,@Param("size") int size);
}
